package com.coder520.user.service;

import com.coder520.user.entity.User;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;

/**
 * Created by Administrator on 2017-7-7.
 */
public interface UserService {

    int createUser(User user) throws UnsupportedEncodingException, NoSuchAlgorithmException;

    User findUserByUsername(String username);
}
